package com.zb.uniman.common;

import lombok.Data;

/**
 * Author:B
 * Description:
 */
public enum ErrorCode {
    sadError(4001,"sad"),hotError(4002,"woaini"),happyError(4003,"winter"),success(200,"成功");
    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    ErrorCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
